/**
 * 
 */
package br.com.cept.sce.dominio.impl;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import br.com.cept.sce.dominio.ILog;

/**
 * @author Junier Amorim
 *
 */
@Entity
@Table(name = "\"log\"")
public class Log implements ILog, Serializable{
	
	@Id
	@SequenceGenerator(name = "log_id_seq",  sequenceName = "\"log_id_seq\"" )
	@GeneratedValue(strategy=GenerationType.AUTO, generator = "log_id_seq")
	private Long id;
	
	@Column
	private String operacao;
	
	@Column
	private Date data;
	
	@Column(name="id_usuario")
	private String idUsuario;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOperacao() {
		return operacao;
	}

	public void setOperacao(String operacao) {
		this.operacao = operacao;
	}

	public Date getData() {
		return data;
	}

	public void setData(Date data) {
		this.data = data;
	}

	public String getIdUsuario() {
		return idUsuario;
	}

	public void setIdUsuario(String idUsuario) {
		this.idUsuario = idUsuario;
	}
	
	
}
